Dynomotion

Group: DynoMotion Message: 1187 From: william Carrothers Date: 5/27/2011
Subject: question about analog drives
Hello..
 
Just to refresh, i'm the one that is going to run the Kflop Kanalog with the Moog L180 analog drives...
 
I've got things hooked up and wired and things are starting to move.  I sorted out code so all the 4 axis move in the test screen and also can be moved through MACH.  (still have not tuned them though.
 
But I want to add some safety.  For example, if the Kanalog looses power, the drives can start moving as the analog signals go off center.  I want to signal the drives that the control is On/Off or on line.  I figure the best way to do that is to wire an output from the Kflop which can run a small relay to the alarm input of the drive or perhaps one that interrupts the enabled signal to the drive.  Right now I already have a relay which stops that if one of my estop switches opens up.
 
I'm thinking that the Kflop would power up, and in the c Code there would be a statement which would make an output throw the relay once everything else was ok thus alowing the drives to be enabled and if power was lost this would turn off, .
 
Was looking for a suggestion on the output that could be used to run a very small reed relay, and a quick code sample for control of it..
 
 
Or perhaps you have another suggestion on how this would be done.
 
Thanks.
 
b.
--- On Sat, 3/26/11, TKSOFT <tk@...> wrote:

From: TKSOFT <tk@...>
Subject: [DynoMotion] KMotion/KFlop Version 4.24 Released
To: DynoMotion@yahoogroups.com
Date: Saturday, March 26, 2011, 7:11 PM

 
KMotion/KFlop Version 4.24 Released
KFLOP - Quadrature Output Mode
Mach3 - Upload/Download DROs
KMotionCNC - Eliminates USB pauses between paths
Bug Fixes
http://dynomotion.com/Software/Download.html

Group: DynoMotion Message: 1193 From: Tom Kerekes Date: 5/27/2011
Subject: Re: question about analog drives
Hi Bill,
 
Here is some background information that may help:
 
On power up of KFLOP/Kanalog
 
#1 All KFLOP I/O pins are floating except (the first 8 I/O on JP4 and JP6 are pulled down)
 
#2 All Kanalog Outputs are initially random except the SWE relay driver is guaranteed to be off
 
After KFLOP boots up it sets all Kanalog outputs off, then enables SWE.
 
 
So typically the best approach to assuring that your amplifiers are disabled until your system is fully initialized is to use a KFLOP output driving high or the logical AND of Kanalog's SWE and some other Kanalog output.
 
IHTH
TK

Group: DynoMotion Message: 1194 From: Wcarrothers Date: 5/27/2011
Subject: Re: question about analog drives
So I could put a relay powered on say the sw0 relay driver ports, then some where in the c code out a statement to put that on at a give "safe" time.

B.



On May 27, 2011, at 6:37 PM, Tom Kerekes <tk@...> wrote:

 

Hi Bill,
 
Here is some background information that may help:
 
On power up of KFLOP/Kanalog
 
#1 All KFLOP I/O pins are floating except (the first 8 I/O on JP4 and JP6 are pulled down)
 
#2 All Kanalog Outputs are initially random except the SWE relay driver is guaranteed to be off
 
After KFLOP boots up it sets all Kanalog outputs off, then enables SWE.
 
 
So typically the best approach to assuring that your amplifiers are disabled until your system is fully initialized is to use a KFLOP output driving high or the logical AND of Kanalog's SWE and some other Kanalog output.
 
IHTH
TK

Group: DynoMotion Message: 1195 From: Tom Kerekes Date: 5/27/2011
Subject: Re: question about analog drives
Well yes, but if you only do that for a few seconds after power comes on but before KFlop boots SW0 may be momentarily be on.  So you should also factor in SWE.
 
So for example if SWE was to control a relay for all motor power and SW0 enables the amplifiers then you will be ok.  In this case all motor power will be off until after SW0 is guaranteed to be disabled.
 
SWE on is indicated by the LED on Kanalog.   
 
TK 

Group: DynoMotion Message: 1196 From: Wcarrothers Date: 5/27/2011
Subject: Re: question about analog drives
Ok I see that terminal. My bad.  Nw to figure out ahistorical bit that is

B.



On May 27, 2011, at 7:40 PM, Tom Kerekes <tk@...> wrote:

 

Well yes, but if you only do that for a few seconds after power comes on but before KFlop boots SW0 may be momentarily be on.  So you should also factor in SWE.
 
So for example if SWE was to control a relay for all motor power and SW0 enables the amplifiers then you will be ok.  In this case all motor power will be off until after SW0 is guaranteed to be disabled.
 
SWE on is indicated by the LED on Kanalog.   
 
TK